package com.lovo.invoicing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lovo.invoicing.bean.PageBean;
import com.lovo.invoicing.bean.UserBean;

import java.util.List;
import java.util.Set;

public interface IUserService {

    void addUser(String userName,String realName,int[] roleIds);

    void deleteUser(int userId);

    void updateUser(int userId,int[] roleIds);
    IPage<UserBean> queryUsersByPage(PageBean<UserBean> pageBean);
    UserBean queryUser(UserBean userBean);

    List<Integer> queryLimitsByUserId(int userId);
    String queryPassWordById(int userId);

    void updatePassWord(UserBean userBean);

    UserBean queryUserByPhoneNumber(String phoneNumber);

}
